package cn.kgc.bilibili.service.impl;

import cn.kgc.bilibili.dao.DongManMapper;
import cn.kgc.bilibili.pojo.Dongman;
import cn.kgc.bilibili.service.DongmanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("dongmanService")
public class DongmanServiceImpl implements DongmanService {
    @Resource
    DongManMapper dongManMapper;
    @Override
    public List<Dongman> getDongmanByUpdateTime(Integer updatetime) {
        return dongManMapper.getDonManByUpdateTime(updatetime);
    }

    @Override
    public List<Dongman> getDongmanByHotnum() {
        return dongManMapper.getDonManByHotNum();
    }
}
